package com.mingqijia.gassafety.webserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mingqijia.gassafety.db.entity.Maintainlog;
import com.mingqijia.gassafety.shared.utils.commonUtils.PageUtil;
import com.mingqijia.gassafety.webserver.request.MaintainLogAddRequest;
import com.mingqijia.gassafety.webserver.request.MaintainLogRequest;
import com.mingqijia.gassafety.webserver.response.MaintainLogResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wanghai
 * @since 2022-03-10
 */
public interface MaintainlogService extends IService<Maintainlog> {

    /**
     * 查询复位记录
     * @param req
     * @return
     */
    PageUtil<MaintainLogResponse> maintainList(MaintainLogRequest req);
    /**
     * 维护记录新增
     * @param req
     * @return
     */
    void add(MaintainLogAddRequest req);
}
